package com.hua.ma.sang.gulimall.common.entity;

import com.huaxiaofan.developer.aop.aspect.Entity.Response;

/**
 * @author huaxiaofan
 * @date 2022/5/11 3:35 下午
 */
public class DataResponse<T> extends Response {

    private T data;

    public DataResponse(String code, String message, boolean success, T data) {
        super(code, message, success);
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
